package com.koron.order.zsjRepair.service;

import com.koron.bean.base.Response;
import com.koron.order.defect.bean.vo.DefectVO;
import com.koron.order.zsjRepair.bean.RemoteRecord;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

public interface ZsjRepairService {

	List<DefectVO> queryListByWorkerId(SessionFactory factory, String worker);

	List<DefectVO> queryRepairByName(SessionFactory factory,String work, String title);

	String getDeviceTypeByOrderId(SessionFactory factory, String id);

	Response saveOrderInfoWithRemote(SessionFactory factory, RemoteRecord record);

	List<RemoteRecord> getOrderInfoWithRemote(SessionFactory factory, String orderId);

	Integer deleteStepFileWithRemote(SessionFactory factory, String fileId);
}
